/*
 * @Author: ChaiHongJun
 * @Date: 2021-07-08 16:06:24
 * @LastEditors: ChaiHongJun
 * @LastEditTime: 2021-07-08 16:46:52
 */
module.exports = {
  devServer: {
    proxy: {
      "/api": {
        target: "http://ttapi.research.itcast.cn/",
        changeOrigin: true,
        ws: true,
        pathRewrite: {
          "^/api/": "",
        },
      },
    },
  },
};
